319f5de5c123e062bdbf1730364a29f5c1ab057e,src/test/java/se/bjurr/prnfb/service/PrnfbRendererTest.java,PrnfbRendererTest,before,#,55

Before Change


 public void before() throws ValidationException {
  initMocks(this);
  this.prnfbNotification = prnfbNotificationBuilder()//
    .withUrl("http://hej.com")//
    .build();
  this.sut = new PrnfbRenderer(this.pullRequest, this.pullRequestAction, this.applicationUser, this.repositoryService,
    this.propertiesService, this.prnfbNotification, this.variables);

After Change


 public void before() throws ValidationException {
  initMocks(this);
  this.prnfbNotification = prnfbNotificationBuilder()//
    .withUrl("http://hej.com")//
    .withTrigger(APPROVED)//
    .build();
  this.sut = new PrnfbRenderer(this.pullRequest, this.pullRequestAction, this.applicationUser, this.repositoryService,
    this.propertiesService, this.prnfbNotification, this.variables);